\hypertarget{pg_string_8h}{\section{Inc/pg\-String.h File Reference}
\label{pg_string_8h}\index{Inc/pg\-String.\-h@{Inc/pg\-String.\-h}}
}
\subsection*{Classes}
\begin{DoxyCompactItemize}
\item 
class \hyperlink{classpg_string}{pg\-String}
\begin{DoxyCompactList}\small\item\em String utilities class. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define \hyperlink{pg_string_8h_ab225f8d00b85440aeb9c2fd627eaa156}{P\-G\-\_\-\-S\-T\-R\-I\-N\-G\-\_\-\-C\-H\-A\-R\-P\-\_\-\-T\-O\-\_\-\-L\-P\-C\-W\-S\-T\-R}(sz\-Char\-Pointer, lp\-Wchar\-Array)
\begin{DoxyCompactList}\small\item\em Usefull makro that does not generate the overhead of \hyperlink{classpg_string_ab2c0ec54852b4cb216c33c33bee1982f}{pg\-String\-::\-Char\-Pointer\-To\-L\-P\-C\-W\-S\-T\-R()} \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Macro Definition Documentation}
\hypertarget{pg_string_8h_ab225f8d00b85440aeb9c2fd627eaa156}{\index{pg\-String.\-h@{pg\-String.\-h}!P\-G\-\_\-\-S\-T\-R\-I\-N\-G\-\_\-\-C\-H\-A\-R\-P\-\_\-\-T\-O\-\_\-\-L\-P\-C\-W\-S\-T\-R@{P\-G\-\_\-\-S\-T\-R\-I\-N\-G\-\_\-\-C\-H\-A\-R\-P\-\_\-\-T\-O\-\_\-\-L\-P\-C\-W\-S\-T\-R}}
\index{P\-G\-\_\-\-S\-T\-R\-I\-N\-G\-\_\-\-C\-H\-A\-R\-P\-\_\-\-T\-O\-\_\-\-L\-P\-C\-W\-S\-T\-R@{P\-G\-\_\-\-S\-T\-R\-I\-N\-G\-\_\-\-C\-H\-A\-R\-P\-\_\-\-T\-O\-\_\-\-L\-P\-C\-W\-S\-T\-R}!pgString.h@{pg\-String.\-h}}
\subsubsection[{P\-G\-\_\-\-S\-T\-R\-I\-N\-G\-\_\-\-C\-H\-A\-R\-P\-\_\-\-T\-O\-\_\-\-L\-P\-C\-W\-S\-T\-R}]{\setlength{\rightskip}{0pt plus 5cm}\#define P\-G\-\_\-\-S\-T\-R\-I\-N\-G\-\_\-\-C\-H\-A\-R\-P\-\_\-\-T\-O\-\_\-\-L\-P\-C\-W\-S\-T\-R(
\begin{DoxyParamCaption}
\item[{}]{sz\-Char\-Pointer, }
\item[{}]{lp\-Wchar\-Array}
\end{DoxyParamCaption}
)}}\label{pg_string_8h_ab225f8d00b85440aeb9c2fd627eaa156}
{\bfseries Value\-:}
\begin{DoxyCode}
\{ \(\backslash\)
                                        size\_t makro\_origsize = strlen(szCharPointer) + 1; \(\backslash\)
                                        size\_t makro\_convertedChars = 0; \(\backslash\)
                                        mbstowcs\_s(&makro\_convertedChars, lpWcharArray, makro\_origsize, 
      szCharPointer, \_TRUNCATE); \(\backslash\)
                                \}
\end{DoxyCode}


Usefull makro that does not generate the overhead of \hyperlink{classpg_string_ab2c0ec54852b4cb216c33c33bee1982f}{pg\-String\-::\-Char\-Pointer\-To\-L\-P\-C\-W\-S\-T\-R()} 


\begin{DoxyParams}{Parameters}
{\em sz\-Char\-Pointer} & String to be converted. \\
\hline
{\em lp\-Wchar\-Array} & Will be filled with sz\-Char\-Pointer, (use fixed size to circumvade heap allocations \\
\hline
\end{DoxyParams}
